package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.SjzdJbxxBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface SjzdJbxxService extends BaseService<SjzdJbxxBean> {

	SjzdJbxxBean getSjzdJbxxBeanById(String id) throws Exception;
	
	void removeSjzdJbxxBeanById(String id) throws Exception;
	
	void removeSjzdJbxxBeanByIds(String ids) throws Exception;
	
	SjzdJbxxBean saveSjzdJbxxBean(SjzdJbxxBean crm) throws Exception;
	
	SjzdJbxxBean updateSjzdJbxxBean(SjzdJbxxBean crm) throws Exception;
	
	Page<SjzdJbxxBean>  findSjzdJbxxBeanByCond(SjzdJbxxBean bean,
			Page<SjzdJbxxBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveSjzdJbxxBeanExt(String sql) throws Exception;

	String findSjzdJbxxBeanExtCreate(String tableName) throws Exception;

	String findSjzdJbxxBeanExtEdit(String tableName, String id)
			throws Exception;

	String findSjzdJbxxBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasSjzdJbxxBeanExtData(String tableName, String id)
			throws Exception;
}